#include <stdio.h>
// 执行： ./a.out hello=1 world=2
int main(int argc, char *argv[])
{
    printf("%d\n", argc);
    for (int i = 0; i < argc; i++)
    {
        printf("%s\n", argv[i]);
    }

    printf("----------\n");

    for (int i = 0; argv[i] != NULL; i++)
    {
        printf("%s\n", argv[i]);
    }
    return 0;
}